//
//  MyNoteTableViewCell.m
//  e-Learning
//
//  Created by rimi on 16/6/29.
//  Copyright © 2016年 YJ. All rights reserved.
//

#import "MyNoteTableViewCell.h"

#define WIDTH Screen_Width/3
#define HEIGHT Screen_Height/8*7*0.8*0.28

@implementation MyNoteTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        
        
    }
    return self;
}

- (UILabel *)time{
    if (!_time) {
        _time = [[UILabel alloc] initWithFrame:CGRectMake(HEIGHT*0.1, HEIGHT*0.1, WIDTH*0.66, HEIGHT*0.1)];
        _time.backgroundColor = [UIColor redColor];
    }
    return _time;
}

- (UILabel *)voiceTime{
    if (!_voiceTime) {
        _voiceTime = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    }
    return _voiceTime;
}
- (UIButton *)voicePlay{
    if (!_voicePlay) {
        _voicePlay = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    }
    return _voicePlay;
}
- (UILabel *)content{
    if (!_content) {
        _content = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    }
    return _content;
}
- (UIButton *)edit{
    if (!_edit) {
        _edit = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    }
    return _edit;
}
- (UIButton *)del{
    if (!_del) {
        _del = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    }
    return _del;
}











- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
